package com.gopay.common.rcs.manager.antiphish;

import java.util.List;

import com.gopay.common.domain.rcs.RcsAntiPhishConfEditLog;
import com.gopay.common.domain.rcs.RcsAntiPhishConfGlobal;
import com.gopay.common.rcs.bean.DomainnameCheckStatus;
import com.gopay.common.rcs.bean.OrderIPCheckStatus;
import com.gopay.common.rcs.bean.TimestampCheckStatus;
import com.gopay.common.rcs.bean.VerifyCodeCheckStatus;

/**
 * 防钓鱼全局配置
 * 
 * @RcsAntiPhishingGlobalManager.java
 * @author liujy
 * @2013-7-23 下午6:35:21 www.gopay.com.cn Inc.All rights reserved.
 */
public interface RcsAntiPhishingGlobalManager {

    /**
     * 添加,一次插入4条,每条对应一个防钓鱼规则(初始化时才用到)
     * 
     * @param globalConfList
     * @return RcsAntiPhishConfGlobal
     */
    void saveGlobalConf(List<RcsAntiPhishConfGlobal> globalConfList);

    /**
     * 查询 全局配置
     * 
     * @return RcsAntiPhishConfGlobal列表
     */
    List<RcsAntiPhishConfGlobal> getGlobalConf();

    /**
     * 更新单条配置
     * 
     * @param globalConf
     */
    void updateGlobalConf(List<RcsAntiPhishConfGlobal> list, List<RcsAntiPhishConfEditLog> logList);

    DomainnameCheckStatus getDomainnameCheckStatus(String custId);

    TimestampCheckStatus getTimestampCheckStatus(String custId);

    OrderIPCheckStatus getOrderIPCheckStatus(String custId);

    VerifyCodeCheckStatus verifyCodeConfig(String custId);

   
}
